package com.wei.client;

import com.wei.service_base.vo.CourseOrderVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author wjx
 * @InterfaceName CourseOrderFeign
 * @description: TODO
 * @date 2022-12-04 22:20
 * @version: 1.0
 */
@Component
@FeignClient("service-edu")
public interface CourseOrderFeign {

    @GetMapping("/eduservice/frontCourse/getCourseOrderInfo/{courseId}")
    public CourseOrderVo getCourseOrderInfo(@PathVariable("courseId") String courseId);
}
